package dao;

import java.util.List;

import commonTypes.Ordered;

public interface OrderedDao {
	public void createOrdered(Ordered ordered);
	
	public void deleteOrdered(int tableID,int dishID);
	
	public void deleteOrderedByTableID(int tableID);
	
	public List<Ordered> getAllOrdered();
	
	public Ordered getOrderedById(String orderedId);
	
	public void setOrdered(Ordered ordered);
	
	public List<Ordered> getOrderedByDishIDAndTableID(int dishId,int tableId);
	
	public void deleteOrderedByOrderedID(String orderedId);
	
	public void createEndedOrdered(Ordered ordered);
	
}
